package com.huqing.icu.mapper;

import com.huqing.icu.model.HouseApproveRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HouseApproveRecordMapper extends BaseMapper<HouseApproveRecord>{

    HouseApproveRecord queryLastRecordByHouseId(@Param("houseId") Long houseId);

    Integer deleteByHouseId(@Param("houseId") Long houseId);

    List<HouseApproveRecord> selectByHouseIdList(@Param("houseIdList") List<Long> houseIdList);
}
